﻿//set current control
function setCurrentControl(sourceControl, destControl) {
    document.getElementById(destControl).value = sourceControl;
    return false;
}

//get element id, append variable names
function appendTextValue(variable, sourceid) {
    var src = document.getElementById(sourceid).value;
    var source = document.getElementById(src);
    if (source != null) source.value = source.value + " " + variable + " ";
    return false;
}

